package zh.codegym.task.task04.task0428;

/* 
正数
*/

import java.io.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Solution {
    public static void main(String[] args) throws Exception {
        //在此编写你的代码
        Scanner scanner = new Scanner(System.in);

        int count = 0;
        for (int i = 0; i < 3; i++) {
            if(scanner.nextInt() > 0){
                count++;
            }
        }
        System.out.println(count);


    }
}
